//
//  GruphotoCameraViewController.h
//  Gruphoto
//
//  Created by Thao Nguyen Huy on 1/21/13.
//  Copyright (c) 2013 CNC Software. All rights reserved.
//

#import <UIKit/UIKit.h>



@interface GruphotoCameraViewController : UIViewController <UIImagePickerControllerDelegate, UINavigationControllerDelegate, ASIHTTPRequestDelegate> {
    UIImagePickerController *imagePicker;
    UIImageView *takedImageView;
    UIButton *flashModeButton;
    UIScrollView *filtersScrollView;
    UIView *decideView;
    UIView *takeView;
    UIView *changeCameraView;
    UIView *effectsView;
    
    NSInteger flashMode;
    NSInteger eventId;
}

@property (nonatomic, assign) UIImagePickerController *imagePicker;
@property (nonatomic, retain) IBOutlet UIButton *flashModeButton;
@property (nonatomic, retain) IBOutlet UIImageView *takedImageView;
@property (nonatomic, retain) IBOutlet UIScrollView *filtersScrollView;
@property (nonatomic, retain) IBOutlet UIView *decideView;
@property (nonatomic, retain) IBOutlet UIView *takeView;
@property (nonatomic, retain) IBOutlet UIView *changeCameraView;
@property (nonatomic, retain) IBOutlet UIView *effectsView;

@property (nonatomic, assign) NSInteger eventId;

- (IBAction)changeFlashMode:(id)sender;
- (IBAction)changeCameraDevice:(id)sender;
- (IBAction)closeCamera:(id)sender;
- (IBAction)takePicture:(id)sender;
- (IBAction)showImagePicker:(id)sender;
- (IBAction)retakeImage:(id)sender;
- (IBAction)approveImageAndUpload:(id)sender;

@end
